package com.ywgt.mapper;

import com.github.pagehelper.Page;
import com.ywgt.pojo.Ad;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 广告表 Mapper 接口
 * </p>
 *
 * @author yiping
 * @since 2021-03-13
 */
public interface AdMapper extends BaseMapper<Ad> {

    Page<Ad> selectAds(@Param("name") String name,@Param("content") String content,@Param("sort") String sort,@Param("order") String order);
}
